/**
 * 
 */
package com.cqcis.uip.module.salary.oper.domain;

/**
 * @author 李世军
 * 
 * 创建于 2012-3-7 下午01:06:09
 */
public class Salarylevel {
	private String id ;
	private String base_salary ;//基本工资
	private String performance_salary ;//绩效工资
	private String secrecy_salary ;//保密工资
	private String traffic_subsidy ;//交通补贴
	private String comm_subsidy ;//通讯补贴
	private String salary_grade ;//薪档
	private String position_level ;//职位等级
	private String remark ;//备注
	
	public float getSalary(){
		return Float.parseFloat(base_salary)
				+ Float.parseFloat(performance_salary)
				+ Float.parseFloat(secrecy_salary)
				+ Float.parseFloat(traffic_subsidy)
				+ Float.parseFloat(comm_subsidy);
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBase_salary() {
		return base_salary;
	}
	public void setBase_salary(String base_salary) {
		this.base_salary = base_salary;
	}
	public String getPerformance_salary() {
		return performance_salary;
	}
	public void setPerformance_salary(String performance_salary) {
		this.performance_salary = performance_salary;
	}
	public String getSecrecy_salary() {
		return secrecy_salary;
	}
	public void setSecrecy_salary(String secrecy_salary) {
		this.secrecy_salary = secrecy_salary;
	}
	public String getTraffic_subsidy() {
		return traffic_subsidy;
	}
	public void setTraffic_subsidy(String traffic_subsidy) {
		this.traffic_subsidy = traffic_subsidy;
	}
	public String getComm_subsidy() {
		return comm_subsidy;
	}
	public void setComm_subsidy(String comm_subsidy) {
		this.comm_subsidy = comm_subsidy;
	}
	public String getSalary_grade() {
		return salary_grade;
	}
	public void setSalary_grade(String salary_grade) {
		this.salary_grade = salary_grade;
	}
	public String getPosition_level() {
		return position_level;
	}
	public void setPosition_level(String position_level) {
		this.position_level = position_level;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Override
	public String toString() {
		return "Salarylevel [id=" + id + ", base_salary=" + base_salary
				+ ", performance_salary=" + performance_salary
				+ ", secrecy_salary=" + secrecy_salary + ", traffic_subsidy="
				+ traffic_subsidy + ", comm_subsidy=" + comm_subsidy
				+ ", salary_grade=" + salary_grade + ", position_level="
				+ position_level + ", remark=" + remark + "]";
	}
}
